package com.ruandi.Test16;

public class TestTeacher {
    public static void main(String[] args) {
        Teacher teacher = new Teacher("周志鹏",30,"Java基础中面向对象");
        teacher.eat();
        teacher.teach();
        System.out.println("=======================================================================================");
        Teacher teacher1 = new Teacher();
        teacher1.setName("周志鹏");
        teacher1.setAge(30);
        teacher1.setContent("Java基础中面向对象");
        teacher1.eat();
        teacher1.teach();
    }
}
